package team.newexcellence.tsfitness.dao;

import org.springframework.stereotype.Repository;
import team.newexcellence.tsfitness.pojo.Article;

import java.util.List;

@Repository
public interface ArticleDao {

    public List<String> findAllArticle() throws Exception;

    public List<Article> findArticleByName(String articleName) throws Exception;

    public Article findArticleByID(int articleID) throws Exception;

}
